package com.nj.liandi.gulimall.product.vo;

import com.nj.liandi.gulimall.product.entity.SkuImagesEntity;
import com.nj.liandi.gulimall.product.entity.SkuInfoEntity;
import com.nj.liandi.gulimall.product.entity.SpuInfoDescEntity;

import java.util.List;

public class SkuItemVo {
    SkuInfoEntity info;

    boolean hasStock = true;

    List<SkuImagesEntity> images;

    List<SkuItemSaleAttrVo> saleAttr;

    SpuInfoDescEntity desp;

    List<SpuItemAttGrouprVo> groupAttrs;

    SeckillInfo seckillInfo;//当前商品的秒杀的优惠信息

    public SkuInfoEntity getInfo() {
        return info;
    }

    public void setInfo(SkuInfoEntity info) {
        this.info = info;
    }

    public List<SkuImagesEntity> getImages() {
        return images;
    }

    public void setImages(List<SkuImagesEntity> images) {
        this.images = images;
    }

    public List<SkuItemSaleAttrVo> getSaleAttr() {
        return saleAttr;
    }

    public void setSaleAttr(List<SkuItemSaleAttrVo> saleAttr) {
        this.saleAttr = saleAttr;
    }

    public SpuInfoDescEntity getDesp() {
        return desp;
    }

    public void setDesp(SpuInfoDescEntity desp) {
        this.desp = desp;
    }

    public List<SpuItemAttGrouprVo> getGroupAttrs() {
        return groupAttrs;
    }

    public void setGroupAttrs(List<SpuItemAttGrouprVo> groupAttrs) {
        this.groupAttrs = groupAttrs;
    }

    public boolean isHasStock() {
        return hasStock;
    }

    public void setHasStock(boolean hasStock) {
        this.hasStock = hasStock;
    }

    public SeckillInfo getSeckillInfo() {
        return seckillInfo;
    }

    public void setSeckillInfo(SeckillInfo seckillInfo) {
        this.seckillInfo = seckillInfo;
    }
}
